vt-d: Better restrict memory ranges considered to be in Xen
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Mar 2009 19:06:30 +0000 (19:06 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Mar 2009 19:06:30 +0000 (19:06 +0000)
commit1aa391a262a6fce80e51903640b4251058c2cd5c
treec58d24f2f32c39a2b6cc8ff7e367b9da4536a869
parentf3cc74d2f11ce9865726e02c6d9938e76234a92a
vt-d: Better restrict memory ranges considered to be in Xen

The current implementation of xen_in_range() misses several memory
ranges that are used by the hypervisor and thus shouldn't get mapped
into dom0's VT-d tables.  This patch should make the check complete.

This patch is only against x86 because I'm not familiar enough with
IA64 to know how much, if any, of these checks apply there.

Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
xen/arch/x86/setup.c